package com.dto;

// DTO类用于接收请求体
public class LeaveRequestDto {
    private Long studentId;
    private String reason;

    public LeaveRequestDto(Long studentId, String reason) {
        this.studentId = studentId;
        this.reason = reason;
    }

    public LeaveRequestDto() {

    }

    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }
}